<template>
  <div>
   MittPage
   <hr>
   <Mittcomp></Mittcomp>
   <button @click="Emitter.emit('send-value','mitt1')">触发</button>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';
import Mittcomp from '@/components/Mittcomp.vue';
import  Emitter  from '../mitt/TestEmitter';


let a=ref(1001)
let b=ref("xdt")
</script>
<style lang="scss" scoped>
</style>
